package model

type Fct struct{
	ID 			int 	`json:"id" gorm:"primary_key" desc:"功能id，自增"`
	PageId 		int 	`json:"page_id" gorm:"not null" desc:"页面id"`
	Name 		string 	`json:"name" gorm:"type:varchar(50);not null" desc:"功能名称"`
	Type 		string 	`json:"type" gorm:"not null"  desc:"页面类型：navbar,form,"`
	Desc 		string 	`json:"desc" gorm:"type:varchar(150);default:'defaultNull'" desc:"描述"`
	CreatedAt 	Time 	`json:"created_at" gorm:"type:timestamp" desc:"创建时间"`
	UpdatedAt	Time 	`json:"updated_at" gorm:"type:timestamp" desc:"更新时间"`
	DeletedAt	Time 	`json:"deleted_at" gorm:"type:timestamp" desc:"软删除时间"`
}
